help with grep [[:alpha:]]* -o

Posted by adam n on Stack Overflow See other posts from Stack Overflow or by adam n
Published on 2010-03-12T05:02:49Z Indexed on 2010/03/12 5:07 UTC
Read the original article Hit count: 270

Filed under:
|
|

file.txt contains:

##w##

##wew##

the command: cat file.txt | grep [[:alpha:]]* -o

outputs nothing. I'm trying to extract the text inside the hash signs. What am i doing wrong?

© Stack Overflow or respective owner

Related posts about grep

Related posts about bash